import request from '@/utils/request'
// 查询样品树
export const GetSampleTree = params => request('/api/v1/SysBusinessSampleCategory/GetTree', { params: params });
// 查询检测项目
export const GetDetectionItem = params => request('/api/v1/SysBusinessDetectionItem/GetList', { params: params });
export const GetListChoiceDetectionItem = params => request('/api/v1/SysBusinessDetectionItem/GetListChoiceDetectionItem', { params: params });
export function GetDetectionItemPost(data) {
  return request({
    url: '/api/v1/SysBusinessDetectionItem/GetListPost',
    method: 'post',
    data
  })
}
// 查询样品类别顶级id
export function SelectSampleCategoryParentIdList(data) {
  return request({
    url: '/api/v1/SysBusinessSampleCategory/SelectSampleCategoryParentIdList',
    method: 'post',
    data
  })
}

// 查询组合不分页
export const GetListNoPage = params => request('/api/v1/SysBusinessDetectionItemPack/GetListNoPage', { params: params });
// 获取打包的检测项目
export const GetPackDetectionItemData = params => request('/api/v1/SysBusinessDetectionItemPack/GetPackDetectionItemData', { params: params });
// 查询字典
export const getDictList = params => request('/api/v1/SystemDict/GetListNoPage', { params: params });
